﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NotAClue.Web.DynamicData
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class DisableEditingAttribute : Attribute
    {
        public Boolean Disable { get; set; }

        public DisableEditingAttribute() : this(false) { }

        public DisableEditingAttribute(Boolean disable)
        {
            Disable = disable;
        }
    }
}